<%@page contentType="text/plain" pageEncoding="UTF-8" import="com.mop.dinnerbook.dao.*,java.util.*,com.mop.dinnerbook.bean.*,java.net.*"%>

<ul>
<%
    String actionIp = request.getParameter("actionIp");
    ActionDAO dao = new ActionDAO();
    List result = dao.getOperator(actionIp);
    Iterator _iter = result.iterator();
    if(result.size() == 0){
        out.write("<span>您今天还是首次操作吧</span>");
    }
    while(_iter.hasNext()){
        Action action = (Action)_iter.next();
        out.write("<li>");
        out.write(action.getPname()+"的"+action.getAname()+"("+action.getTotal()+")");
        out.write("</li>");
    }
%>
</ul>